package com.example.pojo;

public enum Meiju {
    STATUS_CHENGGONG(200,"成功"),STATUS_SHIBAI(400,"失败");
    private int a;
    private String b;

    private Meiju(int a,String b) {
        this.a = a;
        this.b = b;
    }

    public int getA() {
        return a;
    }

    public void setA(int a) {
        this.a = a;
    }

    public String getB() {
        return b;
    }

    public void setB(String b) {
        this.b = b;
    }

    public static void main(String[] args) {
        System.out.println(Meiju.STATUS_CHENGGONG.getA());    // 输出：1已上架
    }
}
